templates / branches--on commit refname_is_safe(): insist that the refname already be normalized (e40f355)
   1: this is just to ensure the directory exists.