templates / branches--on commit regex: use regexec_buf() (b7d36ff)
   1: this is just to ensure the directory exists.