[libvirt] [PATCH v2] autogen: Handle case when libvirt's submodule