sync.sh: Make $1 optional.