Set a sane default for hosting_service when validating repos.

We were accessing hosting_service without ensuring it always had a
value. We now default to None.