The overrides in the site data webscripts rely on the availability of the markup directive, which is only provided by an extensibility-supporting webscript container. As a result, if the patch to enable extensibility on the Repository-tier is disabled, the overrides fail. It must at all times remain possible to disable the patch without any default webscripts breaking, so either the overrides need to be made resilient or the overrides need to be handled more dynamically, i.e. by modifying the lookup path instead of relying on the hard path override.
The overrides in the site data webscripts rely on the availability of the markup directive, which is only provided by an extensibility-supporting webscript container. As a result, if the patch to enable extensibility on the Repository-tier is disabled, the overrides fail. It must at all times remain possible to disable the patch without any default webscripts breaking, so either the overrides need to be made resilient or the overrides need to be handled more dynamically, i.e. by modifying the lookup path instead of relying on the hard path override.