use meta.environment for deployment name

Stubs no longer specify deployment name, because they'll potentially be
used for different deployments. They can still specify it if they want
to though, and it'll win.