Fix typo in exception message
Merge pull request #965 from PiotrZierhoffer/patch-1

Fix typo in exception message