pub fn external_source(&self) -> Option<&'g str> {
        match self {
            PackageSource::External(source) => Some(source),
            _ => None,
        }
    }
Returns the external source if this is an external dependency, or `None` if it is a local
dependency.
guppy/src/graph/graph_impl.rs