ensure pyembed_box_py will return null for Py_None
memory fixes for pyjarray