Fixed support fo hubot 2.4.x