Fix escaping of spaces on Ruby 1.9+ when invoking puppetrun

When invoking `puppetrun` via ssh the command to be executed is not properly escaped and fails. 

- pushing for review 
- to get CI running (could not get test run locally)