Fixed YUM test on non-RPM architectures