Terminal::command now checks target directory exists.