Move walk_repo to Repo.walk
Reduce repo hash from 4 levels to 2 levels