Optimise loading of repos table, issue #1