I think you should check the configuration, the absolute paths mapping are done in a configuration
io.wcm.caconfig.extensions.contextpath.impl.RootTemplateContextPathStrategy
Example, here you can update the regex
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org...