Wipe submodule's dirs before rebasing.