Fix HADOOP_HOME and HIVE_HOME check when running solo