fix setting package link to major version when exact version isn't specified (e.g. 1.5.x)