Prevent grub from generating entries when no kernel modules available