respect build exit code in heroku api provider