tmux: dont use rename_tmux_window when not in tmux

cc @teoljungberg