If you're using the BatchPreProcessing script, just make sure the "CFA Images" option is ticked (Colour Filter Array). If you're doing it manually using ImageCalibration standalone script, I think the option there is "CFA pattern detection".
If things are working for you, must have the above checked.