[libvirt] [PATCH v3 13/22] src: rewrite driver name checker in Python