Fix PR remote/21852: Remote run without specifying a local binary crashes GDB