JBIDE-17829 - make sure error message is correct

selectedEnv can be set inside the install==null block