Fix clean git repo problem