list-duplicate-packages.sh: fine, now it optionally takes a directory :P