Merge pull request #24949 from owncloud/ee-1325-internal-server-error-in-sync-client-on-forbidden-directurl Catch the ForbiddenException to make sure it gets handled