[libvirt] [PATCH] Make commandtest more robust wrt its execution environment