Add precheck for exiv2 command