[COOK-2297] more gracefully handle pip packages from VCS and source archives

This small change prevents the (rather specific) use case of specifying a `version` with a package in version control from causing an error.  Currently when a `version` is specified it will be appended to the resource name, breaking any URLs.