Issue fix - 'Exceptions are logged in back-end server, when a duplicate webapp is created'

This will provide the fix for https://wso2.org/jira/browse/APPM-200.