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 #430 from sonatype/NEXUS-6485-local-discovery-walk

NEXUS-6485: Optimizing Local discovery