Bug fix for #2334.
Merge pull request #2337 from cpauya/feature/2334-Cannot-sync-server-on-Mac-to-central-server

Bug fix for #2334.