Refactor GetConfig to GetSiteConfig.