Report error on fetching empty string metric instead of crashing.