Move portDB attrs to loop() local vars.

Once again, the preceding assertion only verifies the output.  It doesn't check that the second claimPorts call left the internal state unaltered.