ncm-grub: fix handling of an undefined kernel version

support both an undefined version and the magic version string 'YUM-managed'.

Fixes #158
What is this locally-scoped `$kernel_version_str`? It looks like an spurious variable.