Fix assertion errors when the HOME variable is a relative path.
Merge pull request #192 from Kapps/fixRelativeHome

Fix assertion errors when the HOME variable is a relative path.