fix pkg_extract_opts by using retire_tmp function
remove some blank lines that pkg_info spits out for no good reason and remove some repitition