shutils/common.sh: re-read pkg template once pkg options have been evaluated.