git: moved the caching mechanism to one-repo-per-importer

The current mechanism, where a single repo was holding the information
from all the importers was really bad performance-wise.