sg: fix loading of the overwrite config
Created by: asdine
This PR is a quick fix for #32061 to make the overwrite config work properly. However it doesn't fix the output of the help functions, which might require a bigger change.
Test plan
Tested locally with and without the flag