Include optimization to keep track of already visited repository, so that we don't have to visit them again
Small fix.
Merge pull request #5 from coopera/master

Add optimization to avoid revisiting an already visited repo and some small fixes.