Compute the path to project.json to determine the repository nature
Sample output:
sh head /home/storage/space/mirrors/code.google.com/indexes/google-code-archive-source.txt | python3 -u -m swh.fetcher.googlecode.retrieve-google-archive-source 124799961-qian-source-archive.zip.json 135739 hg 409758469-cql-jdbc-source-archive.zip.json 6236580 git 87sanchavan-cassandra-jdbc-driver-source-source-archive.zip.json 3572372 git 87sanchavan-cassandra-jdbc-driver-source-archive.zip.json 3570871 git a13x-cassandra-dbapi2-source-archive.zip.json 308397 git abhijitchanda0-cassandra-jdbc-source-archive.zip.json 3269814 git abhishsinha-cassandra-jdbc-source-source-archive.zip.json 3353095 git adanet-pdo-source-archive.zip.json 182322 git ahli008-cassandra-jdbc-source-archive.zip.json 3340896 git airavata-gsoc-sandbox-repo.svndump.gz.json 1869390756 svn