templates / branches--on commit ref locking: allow 'foo' when 'foo/bar' used to exist but not anymore. (bc7127e)
   1: this is just to ensure the directory exists.