MB-15241 indexer: Check for nil stats object to avoid crash
MB-15241 indexer: Check for nil stats object to avoid crash

This is a workaround to prevent indexer from crashing to
unblock tests. Right fix will be made after proper log
analysis.

Change-Id: I4ab7b0f32ac8b77fa3d1872459b2355afa446f71

jchris/indexing,jchris/indexing,jchris/indexing,jchris/indexing