Add a check for libvirt installation

Fix libvirt check