Fix latent bug in test_gdb_complete_cmd_multiple