Check if networkInterfaceId exists before trying to access it. r=catlee