[Libvir] unnecessary "if-before-free" tests