[libvirt] [PATCHv2] conf: rework code around 'append' attribute to make coverity happy