[Minor Hot Fix] Move a line in SparkSubmit to the right place

This was introduced in #2449