Revert "Revert "Fix infinite list of repos list in scm-contributors""

This reverts commit 6c02883c7118f03837114dcb01bf131793daecb3.

Change-Id: If45195b9b1647d3361359da5bb95a5d3949367e8