Fix whitescreen of death on deploy

Update the template_root and stylesheet_root as part of deploy.