fix get local repo url