Fix path name according to repository name