fix TypeError("Can't get property contents of undefined") when element name is not in the collection.
fix TypeError("Can't get property contents of undefined") when element name is not in the collection.

ricardobeat/svgo,svg/svgo,svg/svgo