Fixed the getCommandMessage.

Signed-off-by: William Lebel <lebelwilliam@gmail.com>