Exit with code only if code is present

Fixes #281

https://travis-ci.org/hajder/simplecov-test/builds/25775647