fix for Bug #86828 for MooX-ClassAttribute: Can't call method "isa" on an undefined value at MooX/CaptainHook.pm line 27