Support present (code) version control
It might be possible without much effort to support present version control like git (possibly others like svn...).
Starting with the path of the script, git can be called to see whether this file (containing folder) is under version control, and the origin / all remote repositories could be queried.
This information could be added to the package as metadata, possibly just as link to the repository, or added field in a JSON file.
This would have to be strictly optional, and a method to choose 1 remote or delete entries for specific remotes.