On the functional determinant of a special operator with a zero mode in cosmology