Fix edge case where one adds a target-dir on a package that didnt have one before, refs #2279