Yes that neglects the transport though. Cow milk can PE produced locally almost everywhere. Cow milk I buy here was produced maybe 10km away from me. Almond milk was transported 5000+ km.
I'm sure shipping vast quantities of almonds and almond milk from places like California to the rest of the world produces almost no greenhouse gases /s
Not to talk about the ecological damage it does to California due to the immense water consumption.