sync-with-meta: Handle document not existing on dest or src - take2

Change-Id: I078aade4d556a5d541b9393bf2e8436f57f409dc