[libvirt] [libvirt-python PATCH 02/23] refactor the function to not override python exceptions