I find this a bit confusing, particularly the `v` call.  Could this just be:

```
var dirs = fsutils.readDir(basePath + '/modules').map(...)
dirs.unshift(basePath)
this.appDirs = dirs
```

??