pf::Portal::Session - check for undefined variable

When calling _resolveIp, `$management_network` is not necessarly
defined.