Obviously you need an environment. Without an environment no organism can exist in the first place.
The point, however, is this: by positing the existence of a genetic program you're locating the primary agency for ontgeny in the genome. Yes, there needs to be an appropriate environment for the program to 'run', but the genome/ environment relationship is not one of equality. Only the genome has 'information' and 'instructions'.
In my view this is a kind of modern preformationism.
And I would repeat that this is very much debatable, and in fact has been debated in numerous academic journals. Try typing 'Developmental Systems Theory' into Google and see what you get.
I'm an outsider looking in. I have to say that the debate seems to be over emphasis rather than any real substantial differences. I don't see why talk of a genetic program means locating the primary agency for ontgeny in the genome although I could see why it might give that impression. It all seems to be a bit of a storm in a teacup - although I don't doubt that it's very important to the scientists involved. I'll look into it...