NEXUS-5755: Restore code removed by mistake

This is the YUM fix, to not run createrepo CLI tool