InitError for a combination of ImageMagick and MATLAB

More information about this bug can be found here and here.

Switching the order of the two packages did not resolve this issue for me.