Fix printCommand issue #16 where grunt would exit after it got stuck in a recursive function