dispatcher: Fix tests

IP4_GATEWAY variable was added to the environment.

Fixes: 9a133787536452cc8e471efe6bc0c94e5ad43383