Check that the HOME environment variable is set

A lot of things we do in the install script rely on this.