Bugfix: retain env var for proj root.

Fix issue where testing packages breaks, since they are run in a temp
    directory, and there is no config.json there.