remove invalid repository