[#6030] Set context on commits during compute_diffs to avoid calling guess_repo

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>