[libvirt] [PATCH 39/41] remote: refactor the code for choosing the UNIX socket path