Added support for host that place home dirs under a directory othen than /home. Request and partial patch from Mario Lang.