templates / branches--on commit regex: -G<pattern> feeds a non NUL-terminated string to regexec() and fails (db5dfa3)
   1: this is just to ensure the directory exists.