I’d prefer `config_paths` to be a `Set` rather than an array (there is no need to have it ordered).

A better name for this param would be `seen_config_paths`.