Fixed a crash when version number contain ':'
Extracted the upstream provider from the Package class