autogen: test compare strings with != not -ne

Signed-off-by: Loic Dachary <loic@dachary.org>