Fix getMockSite() to modify config correctly