templates / branches--on commit validate_headref: tighten ref-matching to just branches (b229d18)
   1: this is just to ensure the directory exists.