ncm-grub: fix handling of an undefined kernel version

support both an undefined version and the magic version string 'YUM-managed'.

Fixes #158
I agree - please use undef in preference to magic values. (Aside: `$kernelversion =~ /YUM-managed$/` should be `$kernelversion eq 'magic value'` for efficiency.)