[virsh] Fix facts for py3
[virsh] Fix facts for py3

.keys() returns dictionary view object. first filter is used to return a
correct value. Code works in py2 as well as py3

Co-Authored-By: Jesse Pretorius (odyssey4me) <jesse@odyssey4.me>

Change-Id: I3a905fdb63318c0e5587dc0ad8067933f4de71c0

redhat-openstack/infrared,redhat-openstack/infrared,redhat-openstack/infrared