Fix exclusion check

Fix exclusion check, was doing a wrong comparison on folder path, so the check never actually happened.
Merge pull request #93 from nate1280/exclusion_fix

Fix exclusion check