Fix finding of projects by Id.

We don't need the sources to be there (we can try to download them from Maven
Central), but we do need the POM (otherwise we know nothing Jon Snow).