Clean up some defects

CID 83189 (#1 of 1): Uninitialized scalar variable (UNINIT)3.
uninit_use_in_call: Using uninitialized value info.readonly when calling RepoDownloadInfo.

CID 61502 (#1 of 1): Uninitialized scalar variable (UNINIT)8.
uninit_use_in_call: Using uninitialized value repo.group_id when calling
ServerRepo.
Merge pull request #376 from haiwen/cleanup_defects

Clean up some defects