fix to ensure Umbraco has context for XPath token replacement