check for hostname in localstorage

helpful for CI / QA testing
Merge pull request #2 from redhataccess/dev-portal-hostname

check for hostname in localstorage