Properly set exit code of conda list --json