Fix wait_until_registered

It worked only because it's only used with riak_core_ring_manager now,
but it wouldn't really work with any other name. h/t Sean's good eye
(the left one).