> Instead of removing the unwanted .repo files, replace them with empty files. > That way an upgrade should just result in a .rpmnew file being created. because by removing them from the centos-release package and rebuilding it they are not there in the first place.