ncm-grub: fix handling of an undefined kernel version

support both an undefined version and the magic version string 'YUM-managed'.

Fixes #158
Thanks for spotting this! In fact the faulty line is the following one that was supposed to use it.