[libvirt] [RFC PATCH 4/8] conf: Extract UUID parsing into its own function