Fix bug that a remote repo was suggested to the user twice