--delete-empty-src-dirs flag not working

The way it is currently is definitely needed for many workflows, but I kind of agree with bayareagreg that it is perhaps not what you expect and it can be annoying the other way around in some cases.

It might be worth an optional flag, assuming that it would be a fairly trivial implementation and doesn't break anything else.