The sudo_password is actually found in kwargs
Merge pull request #8694 from techhat/sudofix

The sudo_password is actually found in kwargs