Don't reject cli promise on success

When using exitCoa function, promise chain was always rejected,
even if exitCode is 0.