Check for Sitecore context earlier