ERT-742 Fix the loading of the generated site_config.py file.

(cherry picked from commit e8993a0)