templates / branches--on commit avoid using mksnpath for refs (6cd4a89)
   1: this is just to ensure the directory exists.