syncWithRemote was calling v.Repositories.Snapshots.Delete() directly,
which only removes the snapshots row. This leaves orphaned rows in
snapshot_files, snapshot_blobs, and uploads tables.
Replace with deleteSnapshotFromLocalDB() which properly cleans up all
related tables before deleting the snapshot record.
closes#10