Added checking for other repositories with the same name or path.

When adding a repo to be monitored it is no longer possible to add one
with a duplicate name or path.