templates / branches--on commit show_head_ref(): check the result of resolve_ref_namespace() (7fd12bf)
   1: this is just to ensure the directory exists.