Add a configuration helper to resolve config path(s) in API and not in cli.