fix: fetchPackageJsonFile correctly waits for all files before calling the cb

:scream: The logic was broken :scream:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:sparkles: So I fixed it :sparkles: