templates / branches--on commit t1402: check for refs ending with a dot (919eb8a)
   1: this is just to ensure the directory exists.