packaging: add short has and branch name in package version for unofficial builds