Fix bug where ignored files get processed anyway