[libvirt PATCH 05/12] tests: remove unnecessary ret variables and cleanup labels