Expose findRepo and implement fetch hook.