Fix console handler.

This was accidnetally broken in 2128d9d81196f92432c4016bccfeab3f7af3f06a.

Change-Id: I50ea1fdb8ae4d28ae4555410bee97e5037692aa5
Merge "Fix console handler."