Fixed a general error

Fix for https://github.com/ansible/ansible/issues/3547