Factor out some duplication between SVNRunOptions and GitRunOptions.