refactor(AppConfig): readability improvements for loadConfig()
#58757
+116
−53
loadConfig()
#58757