[libvirt] [PATCH v5 10/23] src: rewrite driver name checker in Python