Proper path building for capabilities and rootmaps