Use Hudson object to get global config for plugin

Instead of using the Run object for builds (which may be null) to get
the global config for the plugin retrieve it directly from a Hudson
instance.