build: apply_profile: network() error in netmask-calculation for multiradio-devices, introduced by previous commit