Let's change this to an if() so that we report same exit code on --xml requests.