Fix get_company_details to handle absolute URLs