Add a test for when active_queues() is None.

babysit() used to blow up if active_queues() was None. Now it checks to
see if it is None before using it.