fix the initialize of the portals list to be an empty list then add a test to verify there are no duplicates
Merge pull request #2201 from MauriceManning/1239_rebase

ooiion-1239: remove duplicate portals