proactively catch empty queue names

otherwise you get a bizarre error "undefined method `encoding' for nil:NilClass"