better exception handling for get_global_config