removes path from repository "names"