bugfix multiple duplications

nodes and repos were added in duplicates, if the fetch was executed multiple times.