Only call add_known_host() if clone_protocol_ssh?
Minor cleanup
Added ruby 1.8.7 compatible backport of Open3::capture3; refs #8