env.getEnvironment return {} in standalone mode.

NOTE: env.getEnvironment single-thread only