When trying to syncfeatures the local master branch is not updated to the latest remote.
So the script may exit thinking there is nothing to do, if master is out of sync.
I think the best solution is to rebase onto origin/master, since we may not want to update local master.