[2.11.x][NEXUS-7596] Only activate Yum capabilities if create/mergerepo are available

https://issues.sonatype.org/browse/NEXUS-7596
Since this will be rendered should we sanitize the output from the process?