Skip path if the distribution path is directory instead of file. Handle exception raised while handling distribution path. Fixes: #84006 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> (cherry picked from commit 34f8f55d9e)
34f8f55d9e
from __future__ import annotations