Modify the env of pack.sh to relative to $TOP