Fixes #1167. "print" called with no arguments prints "nil"