make isExcludedFiles work right when the preferences do not specify any exclusions