Report clearer error messages when duplicate Hubs are found

- This is particularly useful when trying to generate JS Hub proxies
  from signar.exe

#2687
#2711