Rename tmux window only if $TMUX variable is set.