Set the environment to install when installing.

This fixes issues with the database datacollector when installing. We
can't connect to the database yet, so when we're in dev environment,
this could give issues.