pub fn validate_repository_parameter(repo: &str) -> Result<(), Error>
Validates the repository parameter: must be non-empty, and if local, must exist and be a git repo