ApiQuerySiteInfo: Avoid extra getConfig() calls