source: Propagate "too old" and other errors for local repos
source: Propagate "too old" and other errors for local repos

HifSource has an optimization where for local repos hif_source_update()
is a no-op.  However, _check() can still fail for local repos, e.g. if
the metadata is too old.

Change things so that if _update() is called on a local repo, we
return the error from _check() if there was any.

Without this patch, we segfault on local repos with too-old metadata.

juhp/libhif,hughsie/libhif,hughsie/libhif,edynox/libdnf,edynox/libdnf,juhp/libhif,rpm-software-management/libdnf,Conan-Kudo/libhif,hughsie/libhif,Conan-Kudo/libhif,hughsie/libhif,rpm-software-management/libdnf,cgwalters/libhif,cgwalters/libhif,edynox/libdnf,rpm-software-management/libhif,Conan-Kudo/libhif,edynox/libdnf,rpm-software-management/libhif,rpm-software-management/libdnf,Conan-Kudo/libhif,rpm-software-management/libhif,rpm-software-management/libhif,rpm-software-management/libdnf,cgwalters/libhif,cgwalters/libhif