Fix #668. sql-sync will run on local machine if the Source is local. Otherwise, it runs on destination.