Fix reference to missing real_scan_files method in check plugin.