Prevents deployments with duplicate names

Fixes #38