I would add an `else` here. We don't need to enter this `if` in case `attribute == "dataset"`.