Stop using config["PORTDIR"] in some tests.