1038309 - Fix bug where distributor type was being checked against the distributor id instead of the type id
Merge pull request #409 from pulp/barnabycourt-1038309a

1038309 - Fix bug where distributor type was being checked against the distributor id instead of the type id