Make sure at least one queue is declared before attempting to list definitions