Remove redundant invocation of trivy version command
Currently, trivy --version
command is called twice to print the version_info in logs:
$ gtcs scan
[INFO] [2021-06-10 05:35:49 +0000] [] ▶ trivy --version
[INFO] [2021-06-10 05:35:49 +0000] [] ▶ trivy --version
This MR fixes it by calling only once.