This is a workaround for the modprobe module which fails to unload modules using modprobe -r MODULE. Using a dedicated module instead of a plain (shell) command allows to fail only on important errors.