Better fix for package detection with -r. Now also works for non-RHEV KVM hosts