Refs #7617 - Fixed a docker distributor issue

The docker distributor previously didnot properly communicate
protected/redirect_url/repo-registry-id attributes to pulp.
This commit aims to fix that
commented code