Fix Python 2.4 incompatibilities

In "Overhaul restore destination handling, and stripping/grafting
behavior." (042eaac10b2650a71f7e8604cfac8213091ec1be) and "Add symbolic
mode information to xstat output, i.e. (drwxr-xr-x)."
(c51fb90ce34ee7ba929fdbc5c38cb933deb9adf6) we introduced python 2.4
incompatible inline if statements.  This commit fixes this.

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