Add safety panic to seriesMap.put.

Change-Id: I4d4d2e45cc0f908a33eb1ae6e3ee6796adfcbd1e