Fixing hubot upgrade script.