avoid kernel installed loop

Signed-off-by: Grarak <williye97@gmail.com>