templates / branches--on commit remote: make guess_remote_head() use exact HEAD lookup if it is available (fbb074c)
   1: this is just to ensure the directory exists.