NEXUS-6485: Optimizing Local discovery

Instead of walking whole directory, we do walk only
the needed depth.

As a consequence, potentially including empty
directories as well.

Issue
https://issues.sonatype.org/browse/NEXUS-6485

CI
TBD