Fix bad return value in Python node definitions.