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.
Merge pull request #431 from sonatype/nexus-2.8.x-NEXUS-6485-local-discovery-walk

[2.8.x] NEXUS-6485: Optimizing Local discovery