Handle missing $HOME

ref #73