fix for STORE-479

Getting a stackoverflow when accessing registry browser page

[1] https://wso2.org/jira/browse/STORE-479