t7400: barf if git-submodule removes or replaces a file