Do not even attemp upload if the same parent is already used.
Merge pull request #55 from ktf/22-to-16-backport

Do not even attemp upload if the same parent is already used.