Allow to enforce paths specified in addExcludedPath().