templates / branches--on commit checkout: fix bug with ambiguous refs (0cb6ad3)
   1: this is just to ensure the directory exists.