Use faster dir searching algorithm

Switch back to the os.walk algorithm because it allows us more control
over the dirs we find and avoid needlessly recursing into the git dirs.

Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
2 files changed