Providing fallback for config.hgn option

For backward compatibility, fallback to using global RequireJS config's
hgn key if there's no plugin config.