Fixes for Python 2.4
Fix setup when /sys/block is inaccessible
Clean up some extra_vars redundancy
Fix tilde expansion for fileglob

Use common suffix to determine what part of original term to keep and
how much of the full path to combine to get a usable filename.
Allow using other users' home directories as well