Got rid of null check since this is unnecessary when using g_strcmp0()