Make excluding files really work

Exclude locations must be paths, and should not be an empty list, if don't want to exclude anything should be None.