Fix possible NoMethodError when IP location request is nil