Fix the issue where sw is using spark-submit defined on the PATH. I would like to use the one defined in SPARK_HOME but if it's not set use the one in PATH. The warning should be printed in all cases to let the user know which spark is being used. What do you think?