I guess we face the same issue as the #3721 one.
But here it happens on AIX OS/400, another IBM OS which is somehow very close to Z/OS.
As you can see os.name is "OS/400" in this case.