Fixes the nil dereference when imagemagick is used
Merge pull request #70 from binford2k/fix/fix_rmagick_crasher

Fixes the nil dereference when imagemagick is used