[libvirt] [PATCH 3/3] qemu: migration: Make check for empty hook XML robust