Fix bug of removed directory scanning

No match.