Move `List("dev", "code", "gudev").contains(Configuration.environment.stage.toLowerCase)` to a property on `Configuration.environment`.