Fix for #6365: cloudformation module fails to update if stack exists

It looks like the error message returned by the AWS API has changed, this pull request updated the code that checks whether the stack already exists.

See #6365