CONFLUENCE-329 causes an important performance regression which can be mitigated by caching results during imports.