Test if kernel is present in /boot before updating initramfs. Correct bad condition check in 'generate_distro' function.