Fix possible queue name override by existing beanstalkd queue

(cherry picked from commit 7b17b2f)