templates / remotes--on commit lock_ref_sha1(): do not sometimes error() and sometimes die(). (5cc3cef)
   1: this is just to ensure the directory exists.