pub fn split_repo(repo: &str) -> Result<(&str, &str), Failure>
Splits owner/repo, refusing any other shape.
owner/repo
Returns a Failure when the name is not exactly two safe segments.
Failure