[libvirt] [PATCH v2 06/10] conf: Extract UUID parsing into its own function