LOGSTASH-2276 fixed if/else branch mixup in rabbitmq input