refactor findRepos following the pattern exposed by Tim

see comment : https://github.com/timboudreau/gittattle/pull/5#commitcomment-4524829
Signed-off-by:Eric Villard <dev@eviweb.fr>
Merge pull request #8 from eviweb/refactoring/findRepos

refactor findRepos following the pattern exposed by Tim