prevent ClassNotFound exception for emtpy class name

Signed-off-by: Joe Bowser <bowserj@apache.org>