Eliminate stack trace when releasing repository lock after exec failure.