Changed test to string vs if defined.
Changed test to string vs if defined.

stevenharradine/ansible-aws-infrastructure,aaronpederson/ansible-aws-infrastructure,killerwails/ansible-aws-infrastructure,telusdigital/ansible-aws-infrastructure