fix(controller/registry): add old config vars

In child images, we weren't dumping the old config variables from previous images. This would fester and would run into issues such as environment variables going missing. Adding them back solves this issue.

closes #1326