[MacPorts] #17992: non-installed ports cause warning about non-matching variants on upgrade