I think this needs a `r` alongside the `-f`, current tests produce:
```
remote: remote: + find -name .git -prune -exec rm -f '{}' ';'
remote: remote: rm: cannot remove ‘./.git’: Is a directory 
```