ncm-grub: fix handling of an undefined kernel version

support both an undefined version and the magic version string 'YUM-managed'.

Fixes #158
The `$kernelversion eq ''` condition is subsumed by `!$kernelversion`. Empty strings are false in Perl.