Throw exception when unkown env. is requested in ws collection

- Rather than dying with undefined index