added remove local artifact method, and ensured that local repo is used