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

https://issues.sonatype.org/browse/NEXUS-7596
Does this code need to be thread-safe, or does the capability plugin guarantee that `Evaluable`s are never run concurrently?