Guard against null argument

Fix CA1062 violation