Merge "Fix ForeignAPIRepo::fileExistsBatch()"