ACE-3500: LDAP sync failure
- Side-step NPE if we fail to find an invitation that matches a given workflow task.

git-svn-id: https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root@90515 7033f55c-6c29-4ad8-afba-765cb616e738