This is pretty efficient - it would need another `config_name` loop if taken
outside.