Ruby 1.8 treats Integer(nil) as 0, and 1.9 treats it as nil.  Switch to default gracefully.
Merge pull request #353 from smarterclayton/default_exit_code

Merged by openshift-bot
Fix broken rhc_extended tests
Merge pull request #354 from smarterclayton/default_exit_code

Merged by openshift-bot