addPath: Avoid adding same path again and again