Hack: Do not resolve class of $1 is empty

Delayed job monkey patches psych's resolve_class to
constantize an empty string which resolves to `Object`.

Prevent this.