Teach rm to remove submodules when given with a trailing '/'