Fix crash in swap command
Fix crash in swap command

When swapping containers that are in the root of the workspace, parent
will be NULL.

ascent12/sway,1ace/sway,ascent12/sway,ascent12/sway,1ace/sway,1ace/sway,SirCmpwn/sway