grrrit: Fix check in repo_config for "repos"

The order of arguments in _.each(repos) was inverted and need to check
_.isEmpty on repo_config before checking _.has

Change-Id: Ic71ef48194f178a155cb91b1b85dfc3541bd70f9