This happens here for the case where the hadoopDistro option is not specified in commandline.