Added conditional to check if IP env variable is already defined.

Signed-off-by: Alessandro D'Aquino (elara) <alex@midokura.com>