Add additional null checks to metrics script
Add additional null checks to metrics script

To avoid exceptions on other pages I have added an additional null
checks to make the script used on the metrics overview more robust.

Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>

platzhirsch/metadata-census