Fix division by zero error reports from Coverity (CID: 1415721, 1415722, and 1415723)
We should fix the current Coverity issues. Coverity CID 1415721, 1415722, and 1415723 seems to be somewhat related in that they all stem from Coverity not being able to identify the output domain for get_net_param_from_list()