The problems described in the linked StackOverflow issue appear to be caused by
a bug in the NuGet server.