Ignore entire folder using du -I
Found the problem myself:

The single-dash option -I does not accept =. The convention is that double-dash options -- require =.

I fixed by using -I ./subfolder instead.