Correctly output a "-1" for instance memory limit.

[Fixes #77342286]