Michael Tremer [Mon, 24 Jun 2019 14:35:33 +0000 (15:35 +0100)]
Check if kernel actually exists
The module directory can also exist when there is a kernel-devel
package installed which will make the version check succeed but
make the initramfs generation fail.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>