[2.8.x] NEXUS-6506: AR local walk depth off by one

Main PR
https://github.com/sonatype/nexus-oss/pull/439

Issue
https://issues.sonatype.org/browse/NEXUS-6506

CI
https://bamboo.zion.sonatype.com/browse/NX-OSSF54