Check if env variable is not empty string for theme name

So why in my case it generates 'flowhub-enterprise' instead of default 'noflo' when the system variable is empty?