Bug obtaining the image type when exif module is not activated.

#4  Just a little note Solved
Merge pull request #5 from aferrandini/master

Bug obtaining the image type when exif module is not activated.