Added bug to docker related  repository tests.
Merge pull request #1744 from kbidarkar/fix-repos

Added bug to docker related  repository tests.