Typo -- wrong exception type
Merge pull request #35 from ChrisBeaumont/deps

Fixes a typo in #34.