Fix: Use exclude() instead of notPath()

Use `exclude()` instead of `notPath()`.