Fix environmental variable not being set.