only use Heroku environment if environment variable is present