Update KernelUpdateScriptGenerator

Fix issue that caused me issue updating from 3.10rc4 to 3.10rc5