fix 4322,genimage failed with pperte KIT componentwhich has environment variable