[5.0] Fixed The Application Trait For Console Kernel

This is in addition to #6223.