Fix error when checking for exclusions

I noticed this when looking at the JS Code Hints code. If there are no files returned from `preferences.getExcludedFiles()`, then the `jscodehints.defaultExclusions` will not get checked.

@dangoor We should get this in for Release 0.41