fix reference to path attribute

Collapse state storage was just storing `"null":true` in local storage because `parent.getAttribute('path')` was undefined. Changing it to get the `data-path` instead fixes the collapse state storage. This pull request is part of resolving solidusjs/devtools-solidus#3