[libvirt] [PATCH 3/3] tests: Resolve possible overrun