Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1733862
When I was investigating this for the first time, exclude file was missing. I have no idea why - during my testing was always created automatically after clone. Maybe it is some git_version related problem. Why do you prefer using try/except approach more than creating an empty ignore file before?
I have no strong preference. If you think creating an empty file would be better, we could do that.
Pull-Request has been closed by onosek
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1733862