Fix, move assertion to where it should be validating only objects
Fix, move assertion to where it should be validating only objects

* This was triggering on some bytecode modules.

kayhayen/Nuitka,kayhayen/Nuitka,kayhayen/Nuitka,kayhayen/Nuitka