Fix kernel upgrade checks.