Throw exception when unkown env. is requested in ws collection

- Rather than dying with undefined index
Merge branch 'throw_exception_on_unknown_portal' into develop