...oops. The SSH driver didn't respect --test-run for file transfers. Fixed.
Add Hash#slice from ActiveSupport.
Clean up trailing whitespace.
Reduce nesting by simply continuing if we've been passed --test-run in the SSH driver.