support {?dist} in the release.
Merge pull request #435 from pulp/jortel-950740

support {?dist} in the release.