templates / branches--on commit apply: make some parsing functions static again (9123d5d)
   1: this is just to ensure the directory exists.