rake validate was failling on non tty

When running out of a tty, the console_color() would not be defined :-/

Change-Id: I6fc6e8511a6c888ac00bdbab7006a538deb67f49