[libvirt] [PATCH] conf: fix build by using ret variable when returning from functions