Fix crash when TMUX is not in environ.