templates / remotes--on commit pack-refs: use lockfile as everybody else does. (03a1821)
   1: this is just to ensure the directory exists.