[libvirt] [PATCH] Fix checking of return codes in dispatcher