[libvirt] [PATCH v2 10/29] conf: Simplify control flow in virDomainDiskSourceFormat