Check if pathparts is empty

This would crash dolphin if user tries to open properties in /, since the list is empty and there is no last to remove.

Fixes BUG:459315

Merge request reports

Loading