Commit/diff search: run only over cloned repos
Created by: camdencheek
Commit and diff search currently do not exclude repos that are not cloned. This means we're getting spurious errors in code monitors that are actually just because the repo isn't cloned (for whatever reason).
Test plan
Manually tested with Thomas.