I think your approach is great and the right way to implement this filtering.
You could surely create a feature request on GitHub and discuss the suggestion with the code owners.
I don’t know how often this feature of skipping specific folders is used, but maybe having the ability to pass a custom find_classes or make_dataset function might make sense (same as passing a custom loader).