Do not allow dynamic dependencies with only a name

See #92 — use relativeProject() instead
Slightly reworked pride directory detection
Fixed tests