core: config: bind_messages: fix test on console file

Signed-off-by: Eduardo Silva <eduardo@monkey.io>