cli: do not recover prompt while still in error

Change-Id: Idd3ec528be0c82c4f7b04f234554210329c10d3e
Signed-off-by: Michael pasternak <mpastern@redhat.com>