Fix sync crash when some packages have no checkout
The merge step was iterating over all packages without checking if
the checkout directory exists, causing an Eio.Io Fs Not_found error
for packages like dune, odoc, etc. that don't have local checkouts.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>