rerouting: fix a race condition and simplify code
rerouting: fix a race condition and simplify code

It can happen that when rerouting starts for the first time that it receives an auth.leave instead of auth.join. If that happens the ConsumerTag which is fetched by the incoming routingKey will be empty. Thus the following functions will be not working correctly. This fixes this by checking the value of the map.

szkl/koding,koding/koding,andrewjcasal/koding,alex-ionochkin/koding,usirin/koding,alex-ionochkin/koding,cihangir/koding,gokmen/koding,rjeczalik/koding,usirin/koding,kwagdy/koding-1,gokmen/koding,drewsetski/koding,alex-ionochkin/koding,sinan/koding,szkl/koding,acbodine/koding,sinan/koding,gokmen/koding,drewsetski/koding,mertaytore/koding,koding/koding,jack89129/koding,drewsetski/koding,jack89129/koding,sinan/koding,rjeczalik/koding,jack89129/koding,acbodine/koding,alex-ionochkin/koding,gokmen/koding,szkl/koding,rjeczalik/koding,koding/koding,cihangir/koding,usirin/koding,kwagdy/koding-1,andrewjcasal/koding,alex-ionochkin/koding,sinan/koding,usirin/koding,kwagdy/koding-1,andrewjcasal/koding,szkl/koding,koding/koding,drewsetski/koding,szkl/koding,drewsetski/koding,sinan/koding,andrewjcasal/koding,koding/koding,kwagdy/koding-1,drewsetski/koding,kwagdy/koding-1,rjeczalik/koding,koding/koding,sinan/koding,rjeczalik/koding,drewsetski/koding,mertaytore/koding,rjeczalik/koding,andrewjcasal/koding,andrewjcasal/koding,alex-ionochkin/koding,cihangir/koding,alex-ionochkin/koding,kwagdy/koding-1,kwagdy/koding-1,mertaytore/koding,szkl/koding,acbodine/koding,cihangir/koding,cihangir/koding,usirin/koding,szkl/koding,usirin/koding,mertaytore/koding,sinan/koding,acbodine/koding,andrewjcasal/koding,usirin/koding,mertaytore/koding,rjeczalik/koding,jack89129/koding,sinan/koding,gokmen/koding,gokmen/koding,acbodine/koding,koding/koding,usirin/koding,cihangir/koding,kwagdy/koding-1,jack89129/koding,rjeczalik/koding,mertaytore/koding,koding/koding,alex-ionochkin/koding,mertaytore/koding,acbodine/koding,jack89129/koding,szkl/koding,jack89129/koding,jack89129/koding,gokmen/koding,cihangir/koding,mertaytore/koding,gokmen/koding,acbodine/koding,andrewjcasal/koding,cihangir/koding,acbodine/koding,drewsetski/koding