Implement an external cache for checkrepo