I reported the issue here (https://github.com/OpenRC/openrc/issues/316) for those who are curious. I'm not sure how reliable the script is even if it were fixed. It does seem to work once applying my own fix.
EDIT: I'm using net-online to only run a script once the interfaces and dns are up. However, when enabling the ping test, net-online fails instantly. I'm either doing something wrong, or the script needs an overhaul.