Remove obsolete environment variables