Added if-guards when getting length of certain run_status fields. This is needed
beacuse they may be nil if the chef run fails early enough.
Merge pull request #5 from maf23/resiliency

Resiliency fix