Clean-up sync script

Fixes https://github.com/calabash/calabash-ios/issues/634