Add local kernel loading support to KernelConfig(). (#42800)
* add add_to_mapping_local for KernelConfig
* refactor kernel_mapping format
* lint code
* specify the kernel path
* fix `abs/path`
Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>
* rename check_kernel_from_local to use_local_kernel
---------
Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>