[libvirt] [PATCH] build: make git submodule checking more reliable