Also check that tunneling is enabled

Only set tunnel_types when tunneling is enabled as well.