Do not parse project name query.

This can lead to mistakes where the project name is split up because of '.' like
with rna2d.js. This fixes it by creating the query directly.
Only stop if the project is known.