We added support to multi-hub in CDAP UI which looks in for properties `market.base.url` & `market.base.urls` for a host of market base names to talk to from CDAP UI.
This assumes that `market.base.url` will always be present and that we can set that as default market when the user opens the hub. However this assumption could be problematic when user removes the `market.base.url` property from cdap site config.
Attached a screenshot for reference. We shouldn't be assuming that the `market.base.url` will be provided always. If not provided we can default to the first market specified in `market.base.urls`