Use regex to match portal
Merge pull request #251 from sulu-cmf/bugfix/ghi-192

[BUGFIX] Invalid resource locator produced on invalid localization