Add a safety check.
Add a safety check.

Change-Id: Id8a6a7ef31bd98c7559de79e7aba660dd1618ed6

johann8384/opentsdb,MadDogTechnology/opentsdb,ShefronYudy/opentsdb,OpenTSDB/opentsdb,OpenTSDB/opentsdb,kidaa/opentsdb,alienth/opentsdb,eswdd/opentsdb,andyflury/opentsdb,alienth/opentsdb,OpenTSDB/opentsdb,MadDogTechnology/opentsdb,kidaa/opentsdb,ShefronYudy/opentsdb,sidhhu/opentsdb,MadDogTechnology/opentsdb,johann8384/opentsdb,sidhhu/opentsdb,eswdd/opentsdb,andyflury/opentsdb