How about `envMaster.orElse(propMaster).getOrElse("local[*]")`