The workaround is to use
<xwiki.extension.namespaces>"{root}"</xwiki.extension.namespaces>
instead of
<xwiki.extension.namespaces>{root}</xwiki.extension.namespaces>