Trick Jetpack into thinking it is connected. This is needed in order to use it on a local environment. Make these changes in jetpack.php.

Alternately you can just add the line in wp-config.php to your install's wp-config.php if you have Jetback 2.2.1 or higher.