pub fn require_registry_origin(dep: &Dep) -> Result<()>
Shared guard: a git checkout is not interchangeable with a registry release tag.