Added bug to docker related  repository tests.

yes, it returns boolean values and this change is to fix the false-positive for this test.