Fix exception during jetpack tests.