If getcwd() fails, use the user's home directory, or /, instead of failing with an error.
If getcwd() fails, use the user's home directory, or /, instead of failing with
an error.

klaxalk/tmux,klaxalk/tmux,klaxalk/tmux,klaxalk/tmux,klaxalk/tmux