Correctly find namespace for use in the Web UI.