Fix branch_name_for_location