Fixes typo in core.rb cmd_exit