Try to get the hardware code from the os.env