Error running automation call try-inventory (exit code 2), error for esx_vsphere_vm.running_on

Is it possible that there is a file “esx_vsphere_vm” inside the folder “~/local/share/check_mk/checks/”?
If yes then this is a modified version of the old 2.0 esx_vsphere_vm check. You need to remove the modified version.