optimization for none rpm targets
optimization for none rpm targets

avoid executing mock --version for none rpm targets. This speeds up
things as mock --version takes 0.5 second to execute and was previously
executed for all targets.

kakwa/amkecpak,kakwa/amkecpak