Allow packaging from specific tags or commits

For release packaging.

Change-Id: I0bac8a6362a95ee2451703d7832b2ae763f41262