fix: replace localhost in deploy unit url with full hostname when returning unit info