fix test/integration/test-apt-key-net-update (code copy/DRY violation)