Add logging imports so we can debug.
Fix _rbenv_exec handling of ret argument.