Fix crash when TE isn't installed.