Fixed bugs reading COSPAR ID from environment variable instead of image