Avoid getting an exception on all Spark examples when Spark home isn't set and Seq(null) is passed to SC.