templates / branches--on commit fsck: check HAS_OBJ more consistently (c2d17b3)
   1: this is just to ensure the directory exists.