the below code still fails with an NPE... so maybe there is another null check for `pluginsFIle.listFiles()` needed?

```
        File pluginsFile = new File("/tmp/does-not-existing");
        if (pluginsFile != null) {
            for (File pluginFile : pluginsFile.listFiles()) {
                // NPE happens here, due to trying to iterate over null object
            }
        }
```