buildpkg.packaging: simplify variable expansion for relnotes

Pick up only the variable names and not the values from the instrumented
build.sh to avoid double expansion of self-referencing assignments.
Instead we get the values from the running environment.