Check families is not nullptr before using it

When there's no benchmarks, families becomes nullptr. So before touching
it, we need to ensure families is not nullptr.
Merge pull request #10 from Constellation/fix-segv

Ensure families is not nullptr before using it