Merge "Avoid HEAD requests for files missing from the destination"