[NEXUS-5806] Validate that base url is set before generating yum metadata

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