Do not create an empty target if it is not required.
Reported by: mat Approved by: portmgr (tier-2 blanket)