Handling case where RequestURI or BaseUrl is not set in TreeRouteStack