style(config): lightly flatten the loops of load_config

Mostly changing things like if { ... return} else { ... } to not have an extra indentation level of the else part.

The diff is probably very weird even with stripped whitespace.

Merge request reports

Loading