Do not run issubclass on non-classes, exceptions happen