python cell magic fix: clear environment retval after use