Fix stupid exec options default change on ruby 2.0+
Add some sanity checks to prevent jruby from exploding terribly