Use a temporary HOME to ensure expected contents.