Check $HOME and home dir of $USER before getpwuid()->pw_dir