Fixes usagestats failing if env var is not set