Would it be better to use the GOVUK_WEBSITE_ROOT env variable here?