Improve correctness of sourceforge-ls
Before this patch, these useful tools did not ignore duplicated
projects in /projects/
the namespace, did not account for
non-/p/
namespaces nor suprojects, as rare as they might both be.
Migrated from D5294 (view on Phabricator)