Fix default config name
Fix default config name and refactor:
- the function no longer uses the argument `dataset`
- it returns a 2-tuple

Fix partially #1589.
Fix default config name: Fix default config name and refactor:
- the function no longer uses the argument `dataset`
- it returns a 2-tuple

Fix partially #1589.