templates / branches--on commit check_ref_format(): tighten refname rules (cbdffe4)
   1: this is just to ensure the directory exists.