Fix virtual package version substitution