Added bug to docker related  repository tests.

`sync` returns True?