prevent panic in strange scenario with ill-configured rlwrap