Fix HADOOP_HOME and HIVE_HOME checks

The current start scripts always assume that `HADOOP_HOME` and `HIVE_HOME` are set because the test is not against the actual value of the environment variable.