Fix a breakage with saving repositories without hosting services.

The recent hosting service change broke saving repositories when
not using a hosting service. We're now more careful in what we check.
Release Review Board 1.7.8.1.