Change kernel name logic

Signed-off-by: kecinzer <kecinzer@gmail.com>