Improve test for duplicate packages.
* configure.ac (packages_files): New. Also test for a prefix as used in a docker run.
This is run in the docker now and thus must use the docker source
prefix. We also need to avoid grepping non-existent files to that the
configure does not fail.