Fix bug with how spark.pipeline config param is read