Fix missed return in gi_wrapper.
Fix stale repo config object.