templates / branches--on commit sha1_loose_object_info: make type lookup optional (052fe5e)
   1: this is just to ensure the directory exists.