REVIEW: [NEXUS-5829] Validate that (if present) repository is registered as yum repo via capability and is a hosted repository

https://issues.sonatype.org/browse/NEXUS-5829
https://bamboo.zion.sonatype.com/browse/NX-YUMF6