Fix #68. Homedir is now detected same as Docker.

Will need to rebase on #83 when that is merged.
Gotchya. Let's hope it merges cleanly. ;)