[libvirt] [PATCH] Clean up usage of 'ret' variable