Fix generate site code test error
Merge pull request #3960 from dimagi/fix-build

Fix generate site code test error