Fix for supporting 'ansible-playbook --check' mode

This fix will ensure that the '--check' mode will run correctly without
creating errors about undefined variables.