OK, update:
Obviously, the new kernel 6.1 is rolled out via APT. So dist-upgrading already solves the kernel mismatch.
Nevertheless, the installation script is not able to properly retrieve the installed kernel version on the system and still throws the above error, although the kernel versions are actually matching…