Handle package version when a rebuild is triggered