templates / branches--on commit object: add repository argument to lookup_object (5abddd1)
   1: this is just to ensure the directory exists.