templates / branches--on commit pack-objects: better check_object() performances (5c49c11)
   1: this is just to ensure the directory exists.