[#112] don't create a dir when no image has been passed
Merge remote-tracking branch 'origin/master'