test/integration/test-apt-ftparchive-src-cachedb: make test more robust