[libvirt] [PATCH] tests: do not overwrite return value when filling qemuCapsCache