ncm-grub: fix handling of undefined /system/kernel/version
(includes cleanup of component pan templates)

Required for #237