tests: install_with_vpkg_deps: fix order.
Finally fixed vpkg02 test (vpkg provider in transaction).

Rather than collecting dependencies for a pkg that has been added to the
transaction dictionary, do this for all pkgs in transaction once all
packages are already there.