Don't logging.warn() if set_global_config() is called twice

This is highly user-visible in most cases, but there's nothing a user
can actually do about it; it requires a code change for this to not happen.