fixed the bug that ignores the .tidlignore file when exclude option is specified