Hi Vitaly,
I do not have much experience with the repo command.
But I think you should be able to run:
repo forall -c 'git reset --hard ; git clean -fdx || echo "$REPO_PROJECT failed to clean" '
to get which projects fail to clean.
Best regards,
David