Show proper origin in 'portupgrade' when duplicates detected