A comment on the path integral approach to cosmological perturbation theory