1038309 - Fix bug where distributor type was being checked against the d...

...istributor id instead of the type id

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1038309