Spark exception cleanup

1) Wraps `GitException` to `SparkException`.
2) Cleanup

@devoncarew