This is not abit issue just a minor annoyance.
I use Foreman to provision my systems and to keep control I remove all the default *.repo files andkeep away from installing more *.repo files so I can control the content via the foreman(katello) provided redhat.repo.
I would argue that the *-release-*.rpm should not contain any setup code but just the stuff in /etc/yum.repos.d.