Check return value of g_environ_setenv