monkeypatch aws lib to dup env string so it can be modified