Fix the TestGeneratorSiteBuilderFactory flag which controls whether to run the original or new deployment logic, it wouldn't work when reusing sites.