Ensure a meaningful error message is shown if unable to get HOME env variable.