Why not just use `System.getenv` instead of `getEnvOrEmpty`, and then `filter(_ != null)`?