Fixed the application trait for console kernel
Merge pull request #6225 from GrahamCampbell/5.0-testing-trait

[5.0] Fixed The Application Trait For Console Kernel