loader.git: Mark visit status as not_found or failed when relevant
When the initial communication with the git server is failing initially (e.g repository
is not found), this marks the visit status as not_found.
When the initial communication is ok but a failure occurs during the fetch step (e.g
pack file too big, ...), the visit status is marked as failed.
Related to T3030