Avoid sending networking Ids if not specified

Specifying network Ids in Basic zone is not allowed. Passing
an empty array of network Ids is not enough as the empty parameter
will still be sent triggering an error. We have to completely avoid
sending the parameter in case the network Ids array is empty.