Fix: RHSM don't write .repo file with same content (RhBug:1600452)
Fix: RHSM don't write .repo file with same content (RhBug:1600452)

Added check before write.

Closes: #558
Approved by: j-mracek

Conan-Kudo/libhif,rpm-software-management/libhif,rpm-software-management/libdnf,hughsie/libhif,hughsie/libhif,Conan-Kudo/libhif,rpm-software-management/libhif,hughsie/libhif,hughsie/libhif,rpm-software-management/libdnf,Conan-Kudo/libhif,rpm-software-management/libhif,rpm-software-management/libdnf,rpm-software-management/libhif,Conan-Kudo/libhif,rpm-software-management/libdnf