takePic: properly check for imagefilter
takePic: properly check for imagefilter

- fixes https://github.com/andi34/photobooth/issues/21

Thanks to flighter18.

andreknieriem/photobooth,andreknieriem/photobooth,andreknieriem/photobooth,andreknieriem/photobooth