Check if site is null before returning