Correct the way we get ALLOWED_HOSTS

Status Job ID Name Coverage
  Build
canceled #841
build

 
  Test
canceled #843
allowed to fail
code_quality

canceled #842
test