ovs_appctl_compgen: Fix an unfixed bug.

Commit 33e5a9687b (ovs_appctl_compgen: Fix a bug.) did not fix the
bug, this commit does.

Signed-off-by: Yeqiao Wang <ee07b291@gmail.com>