Fixes inference of environment variable in drone.