fixed name colision between warnings dict and module

should fix issue #4499, tested my case and ran regressions

Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>

#diffordie