Prevent wrapping ScriptResult in ScriptResult in REPL commands

If a command executes code (returns `ScriptResult`) it should not be wrapped into another `ScriptResult` like any other `object`