[libvirt] [PATCH v2] polkit_driver: fix possible segfault