Revert "Hacky fix to stop failing when figuring out if we should return jpeg"
Revert "Hacky fix to stop failing when figuring out if we should return jpeg"

This reverts commit fa459a8c05e281d04d5d32c9ee67c7af9018e7e1.

dronedeploy/opencv-engine