fix computeRelativeNamesAfterRenaming for job tbs using same prefix in name