1035440: Don't rewrite redhat.repo unless it has changed
refresh ent_dir after adding/deleting certs
Merge pull request #949 from candlepin/ckozak/avoid_writing_repo

Ckozak/avoid writing repo