Don't override sudo if transport is set to local.
https://github.com/ansible/ansible/pull/5251
Merge pull request #5504 from smoothify/synchronize-sudo

Synchronize Module: Improved sudo override behaviour.