Try using the material function “Safe Normalize” afterwards.
This happens because the blue channel was actually 0 at those pixels (ie, the normal was completely perpendicular to the geometry), and normalization was not able to make it bigger with a divide. Safe normalize IIRC does some checks for that.