Add null checks to fix querier panic
Add null checks to fix querier panic

kinvolk/scope,weaveworks/scope,weaveworks/scope,kinvolk/scope,weaveworks/scope,weaveworks/scope,kinvolk/scope,kinvolk/scope,weaveworks/scope,weaveworks/scope,kinvolk/scope,kinvolk/scope