Improved resolving of deployment context on UI