[MacPorts] #39272: `-p` flag for `port` command doesn't play nice with errors resulting from mismatched requested variants vs. originally-selected variants