Improve PKG_PATH so that the system version number in the URL can change after upgrading automatically.