Remove extra git path.