Missing $HOME environment variable handled