Avoid long running transactions in update_local_repos.
Avoid long running transactions in update_local_repos.

Reviewers: kylec

Reviewed By: kylec

Subscribers: changesbot

Differential Revision: https://tails.corp.dropbox.com/D157347

dropbox/changes,dropbox/changes,dropbox/changes,dropbox/changes