Fixes https://github.com/pulumi/pulumi-docker-build/issues/262. @iwahbe I realized while putting this together that the provider config case wasn't actually tested e2e, and I'm skeptical it was ever actually working. I think it would be reasonable to pull in https://github.com/pulumi/pulumi-docker-build/pull/253 IMO.