This seems like a bug
http://www.yiiframework.com/forum/index.php?/topic/14933-cant-access-yiiapp-params-from-within-a-cconsolecommand/