Fix get_url() helper to always return a URL string