4d3f871e9d
This unbreaks the changes introduced by #2782 by introducing get_env and get_envs for shell sessions (not just meterpreter sessions).