Checks for existence of a vertex group must check the array isn't NULL. Regression in c1386795a9.
c1386795a9