shell script check if environment variable exists