[MacPorts] #51136: `port pkg` and `port dmg` do not agree on how to handle the port revision