catch not found git repository error