Fixes #5291: Handle multiple allowed networks in rudder-init.sh