Fixed yum repository code to handle GPG keys correctly and made GPG keys major version-specific