[libvirt] [PATCH 3/6] Only assign newDef when we have a new def.