Bugfix: unable to use environment id before environment is known
Bugfix: unable to use environment id before environment is known

git-svn-id: e77a8db410fc7e53f700994083f7980387c3a882@464 528793b8-127e-4309-9901-b74759c7208d

rjkip/OpenConext-engineblock,thijskh/OpenConext-engineblock,Martin1982/OpenConext-engineblock,Martin1982/OpenConext-engineblock,remold/OpenConext-engineblock,thijskh/OpenConext-engineblock,thijskh/OpenConext-engineblock,remold/OpenConext-engineblock,thijskh/OpenConext-engineblock,Martin1982/OpenConext-engineblock,remold/OpenConext-engineblock,rjkip/OpenConext-engineblock,rjkip/OpenConext-engineblock,rjkip/OpenConext-engineblock,Martin1982/OpenConext-engineblock,remold/OpenConext-engineblock