Set the UDS_TARGET_URL for directories. Patch by Simeon Bird (sbird) <bladud@gmail.com> REVIEW: 105158 BUG: 293111 Cherry-picked from 62fca357