Fixes #7859 - puppetssh run works on Ruby 1.9+