Fixes a bug in 10d670a3c1. This also makes wait_online() show a short message when a requested interface not found.
10d670a3c1