When we resolve symlinks, paths (especially filenames) may be changed, but plugins may expect to see the kernel added under the name specified, not under the final name that the symlink chain resolves to. This makes symlinks in specified paths that passed to plugins are not resolved when neither --root nor --image specified. Fixes #29317.