Fix crash on undefined 'ip'

When running with ```DUMP``` action