templates / branches--on commit pack: move pack name-related functions (4f39cd8)
   1: this is just to ensure the directory exists.