On my remote site I have Jetpack's site accelerator (formerly Photon) turned on. So all the images are cached and then served from the Wordpress CDN. When I ported the site to my local machine, including all the options, some setting in options caused the cdn url to be appended to all the srcset tags.
The srcset values are of the form
https://i2.wp.com/mh.local/wp-content/uploads/2019/09/Singapore-0595-HDR.jpg This does not work of course since its Jetpack is not connected in local. How can I prevent this behaviour of the Jetpack option causing the images to be served up from the cdn in local?