worker: Don't log incorrect teuthology sha1
If teuthology_path is set, we don't fetch a separate copy of the repo.
In that case, the sha1 logged here may be incorrect.
@@ -160,6 +160,7 @@ def prep_job(job_config, log_file_path, archive_dir):
dict(status='dead', failure_reason=reason)
)
raise SkipJob()
+ if teuth_config.teuthology_path is None:
log.info('Using teuthology sha1 %s', teuthology_sha1)
try:
