Fixed the 'the repository already exists' error while trying to add a new repository