handle $HOME not being set