1094404 - Fix to not delete all repo contents accidentally.

https://bugzilla.redhat.com/show_bug.cgi?id=1094404

Fix originally suggested by bcourt.