Don't override sudo if transport is set to local.
https://github.com/ansible/ansible/pull/5251