Fixed a case when worker didn't have queues defined

Otherwise workers fail to start, which is very bad.