Simplification of the routine to extract required packages.

Previous code didn't remove "/tmp/awk.$$" file.