Make opal-repl handle undefined references better