Cleanup, returning NULL is not actually allowed, and check input more exactly.
Cleanup, returning NULL is not actually allowed, and check input more
exactly.

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