removed extra if statement from kernel check

I swore I previously fixed this and it must have not gotten updated properly.