PHP-744: Ensure collection exists before testing oplogReplay flag