Analytics list down API list in the analytics tenant drop down
### Description:
Create multiple APIS for a tenant and invoke them. Each API will list as separate tenant in the analytics drop down.

### Steps to reproduce:
1. create a tenant domain abc.com
2. Create 2 apis with context /foo and /bar
3. Then invoke the APIs and go and view analytics
4. Under the tenant drop down it will list below 2 tenants, which are actually a 2 APIs of a single tenant
 
```
1. /t/abc.com/foo
2. /t/abc.com/bar
```

### Affected Product Version:
Post 0.9.0-beta

### Environment details (with versions):
- OS:
- Client:
- Env (Docker/K8s):

---
### Optional Fields
#### Related Issues:
<!-- Any related issues from this/other repositories-->

#### Suggested Labels:
<!--Only to be used by non-members-->

#### Suggested Assignees:
<!--Only to be used by non-members-->

diff --git a/enforcer/src/main/java/org/wso2/choreo/connect/enforcer/analytics/ChoreoFaultAnalyticsProvider.java b/enforcer/src/main/java/org/wso2/choreo/connect/enforcer/analytics/ChoreoFaultAnalyticsProvider.java
index fe9ca3f28..87b3dd2b5 100644
--- a/enforcer/src/main/java/org/wso2/choreo/connect/enforcer/analytics/ChoreoFaultAnalyticsProvider.java
+++ b/enforcer/src/main/java/org/wso2/choreo/connect/enforcer/analytics/ChoreoFaultAnalyticsProvider.java
@@ -96,10 +96,10 @@ public class ChoreoFaultAnalyticsProvider implements AnalyticsDataProvider {
         api.setApiType(requestContext.getMatchedAPI().getAPIConfig().getApiType());
         api.setApiName(requestContext.getMatchedAPI().getAPIConfig().getName());
         api.setApiVersion(requestContext.getMatchedAPI().getAPIConfig().getVersion());
-        api.setApiCreatorTenantDomain(FilterUtils.getTenantDomainFromRequestURL(
-                requestContext.getMatchedAPI().getAPIConfig().getBasePath()) == null
-                ? APIConstants.SUPER_TENANT_DOMAIN_NAME
-                : requestContext.getMatchedAPI().getAPIConfig().getBasePath());
+        String tenantDomain = FilterUtils.getTenantDomainFromRequestURL(
+                requestContext.getMatchedAPI().getAPIConfig().getBasePath());
+        api.setApiCreatorTenantDomain(
+                tenantDomain == null ? APIConstants.SUPER_TENANT_DOMAIN_NAME : tenantDomain);
         api.setOrganizationId(requestContext.getMatchedAPI().getAPIConfig().getOrganizationId());
         return api;
     }
['enforcer/src/main/java/org/wso2/choreo/connect/enforcer/analytics/ChoreoFaultAnalyticsProvider.java']