checks whether HOME environment variable exists