FIX metricsmap is no defined when no records exist.
FIX metricsmap is no defined when no records exist.

silverstripeltd/deploynaut-metrics,silverstripeltd/deploynaut-metrics,silverstripe-platform/deploynaut-metrics,silverstripe-platform/deploynaut-metrics