workaround for bug in perl < 5.10.1

This should fix the failures in 5.10.0.  Found this in perl5101delta:

$object->isa('Foo') would report false if the package Foo didn't exist, even if the object's `@ISA` contained Foo.