test: Fix race waiting for projects to list in the registry
test: Fix race waiting for projects to list in the registry

Closes #4272
Reviewed-by: Dominik Perpeet <f7830b2723a5db4fc185058b06cfab4b89a38da9@redhat.com>

deryni/cockpit,cockpit-project/cockpit,matobet/cockpit,andreasn/cockpit,michalskrivanek/cockpit,andreasn/cockpit,SotolitoLabs/cockpit,xhad/cockpit,dperpeet/cockpit,cockpituous/cockpit,garrett/cockpit,stefwalter/cockpit,moraleslazaro/cockpit,andreasn/cockpit,andreasn/cockpit,cockpituous/cockpit,mareklibra/cockpit,harishanand95/cockpit,larskarlitski/cockpit,Scribery/cockpit,arilivigni/cockpit,petervo/cockpit,dperpeet/cockpit,deryni/cockpit,cockpituous/cockpit,deryni/cockpit,michalskrivanek/cockpit,matobet/cockpit,Scribery/cockpit,vanloswang/cockpit,michalskrivanek/cockpit,petervo/cockpit,mareklibra/cockpit,larskarlitski/cockpit,martinpitt/cockpit,moraleslazaro/cockpit,larsu/cockpit,cockpit-project/cockpit,petervo/cockpit,mvollmer/cockpit,mareklibra/cockpit,moraleslazaro/cockpit,Scribery/cockpit,stefwalter/cockpit,xhad/cockpit,vanloswang/cockpit,mareklibra/cockpit,martinpitt/cockpit,larskarlitski/cockpit,mareklibra/cockpit,harishanand95/cockpit,SotolitoLabs/cockpit,vanloswang/cockpit,vanloswang/cockpit,sgallagher/cockpit,arilivigni/cockpit,moraleslazaro/cockpit,larskarlitski/cockpit,dperpeet/cockpit,arilivigni/cockpit,martinpitt/cockpit,mareklibra/cockpit,Scribery/cockpit,SotolitoLabs/cockpit,sgallagher/cockpit,deryni/cockpit,Scribery/cockpit,martinpitt/cockpit,stefwalter/cockpit,michalskrivanek/cockpit,xhad/cockpit,arilivigni/cockpit,garrett/cockpit,vanloswang/cockpit,sgallagher/cockpit,harishanand95/cockpit,andreasn/cockpit,petervo/cockpit,SotolitoLabs/cockpit,cockpituous/cockpit,garrett/cockpit,dperpeet/cockpit,larskarlitski/cockpit,SotolitoLabs/cockpit,deryni/cockpit,andreasn/cockpit,vanloswang/cockpit,Scribery/cockpit,dperpeet/cockpit,petervo/cockpit,harishanand95/cockpit,arilivigni/cockpit,Scribery/cockpit,arilivigni/cockpit,garrett/cockpit,stefwalter/cockpit,cockpit-project/cockpit,xhad/cockpit,petervo/cockpit,andreasn/cockpit,mvollmer/cockpit,SotolitoLabs/cockpit,sgallagher/cockpit,cockpituous/cockpit,xhad/cockpit,larskarlitski/cockpit,larsu/cockpit,larsu/cockpit,mvollmer/cockpit,larsu/cockpit,dperpeet/cockpit,stefwalter/cockpit,dperpeet/cockpit,moraleslazaro/cockpit,xhad/cockpit,stefwalter/cockpit,sgallagher/cockpit,sgallagher/cockpit,larsu/cockpit,stefwalter/cockpit,sgallagher/cockpit,michalskrivanek/cockpit,matobet/cockpit,petervo/cockpit,harishanand95/cockpit,mvollmer/cockpit,cockpit-project/cockpit,garrett/cockpit,larsu/cockpit,matobet/cockpit,mvollmer/cockpit,moraleslazaro/cockpit,mareklibra/cockpit,cockpituous/cockpit,vanloswang/cockpit,cockpit-project/cockpit,moraleslazaro/cockpit,michalskrivanek/cockpit,xhad/cockpit,deryni/cockpit,matobet/cockpit,michalskrivanek/cockpit,SotolitoLabs/cockpit,martinpitt/cockpit,larskarlitski/cockpit,harishanand95/cockpit,arilivigni/cockpit,deryni/cockpit,matobet/cockpit,harishanand95/cockpit