repositories: Revert target variable

As per commit bf94722bb9f4791943ea3ace7adbba07d161514d, the target
variable was removed to use ISO_PATH but it was because of a
miss-understanding of the code.

This commit revert this part of the commit and add a comment.