The Dynamics of the Magnetic-field-free Cavity around Comets