templates / branches--on commit pathspec: die on empty strings as pathspec (9e4e8a6)
   1: this is just to ensure the directory exists.