We can't rely on the $HOME variable being set when .profile is loaded

Upstart (and maybe other tools?) don't set the HOME environment
variable when switching user
Release 1.1.0