[WIP] TODO: fix builder to be called by hook.rb so that hook knows repository
information

- fix logdevice to get nil-websocker object so that it can be used in
  hook.rb to give repository infomation