Handle duplicate project names

Fixes #106.