Fix the NullPointerException issue in the MetricsMobStoreFlusherSourceImpl.