Keep this code here and initialize family like this:

      family = familes.get(0);

For the check below, we only care about the first column family being added, as that's the only possible one that may now become the container of the empty key value