Added bug to docker related  repository tests.

@kbidarkar good catch then. Thanks for the clarification.