echo isn't needed to check whether environment variable is empty.