upgrade-from: orig variable is not propagated

The ORIG variable is not propagated to the upgrade
script and beyond to common, because the upgrade
script is invoked via ./ instead of via .