I think while you're in here this whole resource can just be replaced by using `apt_repository`'s `key` attribute.

https://github.com/opscode-cookbooks/apt#attribute-parameters