Adding check of HOME env variable #74