Fixed null check and return in Truck