Add failing test for #319
Don't fail with NullReferenceException when analyzing nuget.config - references #319