templates / branches--on commit resolve_ref_1(): eliminate local variable "bad_name" (afbe782)
   1: this is just to ensure the directory exists.