In Cli.php TaskNotFoundException can be thrown by print_tasks method, so [here](https://github.com/tamagokun/pomander/blob/563dc8e0593083b211ada7ed5b59ad31c07cdf38/lib/Pomander/Cli.php#L56) variable $task_name will be undefined. Unfortunately at this time no way to get missed task name here, but I've create [PR](https://github.com/jaz303/phake/pull/55) to Phake in order to solve this.