[libvirt] [PATCHv2] conf: Improve metadata type verification