Fixed a typo for croak-ing

A small typo that only got triggered when I tried to run the module on a system that caused the croak to occur.