Previously only a testnet boolean was available which made it impossible to distinguish between regtest and mainnet.