The repository field might be string as well.

Type for repository field in `package.json`, is not expected to be an object always and might be a string as well.

//cc @isaacs