bots: Fix path that github code uses to lookup git repo
bots: Fix path that github code uses to lookup git repo

If we've checked out a different directory in the meantime
the tasks or bots subdirectory may no longer exist.

OSError: [Errno 2] No such file or directory: '/build/cockpit/bots/task/..'

Closes #7474
Scribery/cockpit,cockpit-project/cockpit,larskarlitski/cockpit,andreasn/cockpit,moraleslazaro/cockpit,michalskrivanek/cockpit,SotolitoLabs/cockpit,larskarlitski/cockpit,garrett/cockpit,stefwalter/cockpit,michalskrivanek/cockpit,SotolitoLabs/cockpit,petervo/cockpit,mareklibra/cockpit,Scribery/cockpit,petervo/cockpit,michalskrivanek/cockpit,cockpituous/cockpit,cockpit-project/cockpit,petervo/cockpit,stefwalter/cockpit,cockpit-project/cockpit,michalskrivanek/cockpit,Scribery/cockpit,michalskrivanek/cockpit,andreasn/cockpit,petervo/cockpit,larskarlitski/cockpit,stefwalter/cockpit,moraleslazaro/cockpit,harishanand95/cockpit,stefwalter/cockpit,mvollmer/cockpit,larsu/cockpit,andreasn/cockpit,larsu/cockpit,mvollmer/cockpit,larsu/cockpit,larskarlitski/cockpit,Scribery/cockpit,moraleslazaro/cockpit,larsu/cockpit,deryni/cockpit,deryni/cockpit,moraleslazaro/cockpit,larskarlitski/cockpit,larskarlitski/cockpit,moraleslazaro/cockpit,petervo/cockpit,mareklibra/cockpit,SotolitoLabs/cockpit,mareklibra/cockpit,cockpituous/cockpit,Scribery/cockpit,deryni/cockpit,SotolitoLabs/cockpit,martinpitt/cockpit,Scribery/cockpit,martinpitt/cockpit,cockpituous/cockpit,martinpitt/cockpit,deryni/cockpit,larskarlitski/cockpit,SotolitoLabs/cockpit,harishanand95/cockpit,mvollmer/cockpit,andreasn/cockpit,harishanand95/cockpit,cockpit-project/cockpit,stefwalter/cockpit,Scribery/cockpit,larsu/cockpit,garrett/cockpit,michalskrivanek/cockpit,larsu/cockpit,mvollmer/cockpit,garrett/cockpit,martinpitt/cockpit,andreasn/cockpit,deryni/cockpit,cockpituous/cockpit,moraleslazaro/cockpit,mareklibra/cockpit,cockpituous/cockpit,stefwalter/cockpit,harishanand95/cockpit,moraleslazaro/cockpit,petervo/cockpit,cockpit-project/cockpit,mareklibra/cockpit,cockpituous/cockpit,harishanand95/cockpit,harishanand95/cockpit,martinpitt/cockpit,mvollmer/cockpit,stefwalter/cockpit,andreasn/cockpit,garrett/cockpit,michalskrivanek/cockpit,deryni/cockpit,SotolitoLabs/cockpit,deryni/cockpit,harishanand95/cockpit,petervo/cockpit,SotolitoLabs/cockpit,mareklibra/cockpit,garrett/cockpit,andreasn/cockpit,mareklibra/cockpit