models.main: go back to using `git remote`

71cc39827e78047a379ad906e02410ec4f1eaaa7 switched models.main to
use `git config` instead of `git remote` for getting the list of
remotes.

This doesn't seem to be working for all users so go back to the
original method of using `git remote`.

Closes #349

Reported-by: @gandharva78 <gandharva@gmx.de>
Signed-off-by: David Aguilar <davvid@gmail.com>
Merge branch 'fix-remotes'

* fix-remotes:
  models.main: go back to using `git remote`

Signed-off-by: David Aguilar <davvid@gmail.com>