templates / branches--on commit delete_branches(): use resolve_refdup() (8bb0455)
   1: this is just to ensure the directory exists.