ensure env variable exists. Fixes #533