Avinode will quote your aircraft from and back to your last known position.
With Routing Profiles you have 3 option new option.
Quote me from homebase and not my last know position on the first ferry leg.
Route my aircraft to the next mandatory activity on the last leg.
Route my aircraft to the main homebase or one of the multiples homebases of the aircraft of the last leg.
Have a look on the tutorial below and add some extra routing setting to your aircraft!