cli: fix repl_py27 last value variable