Exit with code only if code is present

Fixes #281

https://travis-ci.org/irrationalfab/simplecov-test/builds/25771841