dont crash on Alfresco Cloud URLs. Improved logging