Solar Carports

I want to put a solar panel on my roof so that I am releasing less greenhouse gas into the environment. But then I hear that manufacturing solar panels causes the release of greenhouse gasses, so I have to subtract that from the good I think I'm doing. But then I realize that the people who are making the solar panels have to change their method so they release less greenhouse gas into the environment. We hear this argument all the time (for example, here). You think you are doing something "green" but it really isn't green because yadayadayada. I am suspicious of these arguments because…