Make result=False if retcode is not 0 in module.run/wait

This fixes commit 57423e031aeb2d26f82795f36fb09f08b2e17af7 which
introduced this code, but seems to check the wrong part of `ret`
Merge pull request #16595 from rallytime/bp-16420

Backport #16420 to 2014.7