[AIRFLOW-6758] Skip git version retrieval in case of invalid git (#7382)
[AIRFLOW-6758] Skip git version retrieval in case of invalid git (#7382)

This happens when you have shared clone of the repository
mistercrunch/airflow,mistercrunch/airflow,bolkedebruin/airflow,cfei18/incubator-airflow,danielvdende/incubator-airflow,cfei18/incubator-airflow,wooga/airflow,apache/incubator-airflow,lyft/incubator-airflow,DinoCow/airflow,spektom/incubator-airflow,apache/airflow,apache/airflow,cfei18/incubator-airflow,wooga/airflow,apache/incubator-airflow,danielvdende/incubator-airflow,bolkedebruin/airflow,mtagle/airflow,wooga/airflow,Acehaidrey/incubator-airflow,airbnb/airflow,spektom/incubator-airflow,wooga/airflow,apache/airflow,apache/incubator-airflow,sekikn/incubator-airflow,dhuang/incubator-airflow,apache/incubator-airflow,lyft/incubator-airflow,dhuang/incubator-airflow,spektom/incubator-airflow,mrkm4ntr/incubator-airflow,cfei18/incubator-airflow,mrkm4ntr/incubator-airflow,apache/airflow,cfei18/incubator-airflow,DinoCow/airflow,bolkedebruin/airflow,danielvdende/incubator-airflow,nathanielvarona/airflow,airbnb/airflow,mistercrunch/airflow,airbnb/airflow,danielvdende/incubator-airflow,mistercrunch/airflow,lyft/incubator-airflow,Acehaidrey/incubator-airflow,lyft/incubator-airflow,mrkm4ntr/incubator-airflow,DinoCow/airflow,nathanielvarona/airflow,mtagle/airflow,sekikn/incubator-airflow,apache/airflow,DinoCow/airflow,Acehaidrey/incubator-airflow,mrkm4ntr/incubator-airflow,airbnb/airflow,danielvdende/incubator-airflow,mtagle/airflow,cfei18/incubator-airflow,danielvdende/incubator-airflow,nathanielvarona/airflow,sekikn/incubator-airflow,Acehaidrey/incubator-airflow,nathanielvarona/airflow,apache/airflow,nathanielvarona/airflow,dhuang/incubator-airflow,nathanielvarona/airflow,sekikn/incubator-airflow,spektom/incubator-airflow,dhuang/incubator-airflow,bolkedebruin/airflow,bolkedebruin/airflow,Acehaidrey/incubator-airflow,mtagle/airflow,Acehaidrey/incubator-airflow