#189 Fix the env in TTY mode
Merge pull request #190 from dotcloud/189-broken_env_tty_mode-fix

#189 Fix the env in TTY mode