Fixed the checker not checking excluded patterns when calling checkPath on file