fix false positive specs: getEnvironment when env was not set, yet