Possible bug when printing environment name

Are you using an uplink server?

If so, it could be because anvil-uplink was not thread safe ([FIXED] Returned environment name is inconsistent) and all you need to do is to upgrade your version of anvil-uplink.