Ignore errors when removing doc .git files, as we might not have any (e.g. building from a tarball)