Fix panic in integration-cli

Thanks @jfrazelle and @crosbymichael !