Fix the bug where disabling the package had no effect.