test: Only upgrade to valid ostrees
test: Only upgrade to valid ostrees

Our host upgrade may fail if there is no newer ostree available.
That is ususally the case when testing a release candidate.

Closes #5152
Reviewed-by: Stef Walter <8a7fbf0f15d3ad982af54ef28f5c117d2494b76c@redhat.com>

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