virsh_attach_detach_disk: improve 'acpiphp_module_modprobe' function

Executing the 'rpm -qa | grep redhat-release' on non RHEL system or
non RPM system will cause the tests to fail. Adding few more conditions
resolves this issue.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>