Check for iptables before trying to run iptables

Fixes #13410.
We need to start supporting some kind of cache for these calls(while allowing to clear them, either from time to time or on demand)