Fixes #1229 - NuGet Gallery returns 500 on `nuget delete`

Simple fix. My tracing code was dumb and assumed a value would be non-null :(.

Fixes #1229