Small cleanup and optimisation
- Will not process the entire event stream in cases where all repos are dirty anyway, we can just pick the latest event date and etag, reducing calls even further
- Code cleanup for data that is only committed on a successful sync