Would be lighter with a `if 'regions' not in config and 'default_region' in config'` condition.