This could also be:

```scala
  modeMap.getOrElse(args("scalding.job.mode"), mode)
```