A little clean-up at this point:
```scala
  for {
    key <- Seq("SPARK_CLASSPATH", "SPARK_LIBRARY_PATH", "SPARK_JAVA_OPTS", "SPARK_TESTING")
    value <- Option(System.getenv(key))
  } executorEnvs(key) = value
```