move detecting tar options to the only place it matters, update #2918
speed up db read by removing extra grep, update #2918