[PATCH rhel7-branch] network: fix filtering of libvirt devices (check for None values) (#1298444)