templates / branches--on commit grep: fix segfault under -P + PCRE2 <=10.30 + (*NO_JIT) (a25b908)
   1: this is just to ensure the directory exists.