use 'ne' for string comparison

Change-Id: I0d059933786119c3c26202c7b48d793404e5a0eb