Ignore a lonely element doesn't have parent node

before:

```javascript
jQuery('<p/>').getSelector() // => TypeError: Cannot read property 'tagName' of undefined
```

after:
```javascript
jQuery('<p/>').getSelector() // => [""]
```