Use of deprecated 'key' member in error message

When parsing invalid card, the error itself raises an error due to use of deprecated self.key.
Merge pull request #2175 from bogdanni/patch-1

Use of deprecated 'key' member in error message