Fix Python 2.4 incompatibilities

In "Overhaul restore destination handling, and stripping/grafting
behavior." (042eaac10b2650a71f7e8604cfac8213091ec1be), "Add symbolic
mode information to xstat output, i.e. (drwxr-xr-x)."
(c51fb90ce34ee7ba929fdbc5c38cb933deb9adf6), and "Check for a Node's
parent before trying to print its name in __repr__."
(8c6304e58147ac57daf0c29fea3b45d154a68485) we introduced python 2.4
incompatible inline if statements.  This commit fixes this.

Reported-by: Alexander Barton <alex@barton.de>