EZP-22817: Error running legacy scripts

Reference error on ezpKernelHandler instances in Kernel\Loader.