Disable safe.check and ensure git is available before performing remediation
Why is this change being made?
Fix for Container scan unable to perform remediation as... (gitlab-org/gitlab#390188 - closed)
Check if git is present and mark the directory safe.
To validate the result, please check the following pipeline. https://gitlab.com/atiwari71/container-scanning-test/-/pipelines/804117550/
Edited by Aditya Tiwari