fixes reset looping through a hash and not array

@qq99 @nsimmons @pushrax 
this fixes https://github.com/Shopify/twine/issues/13

It was not only a `s/in/of/` as the loop itself was broken. Now it's pretty similar to what we have in the `unbind` function.