lisa._unshare: Ensure logging is setup before unpickling function
FIX
Ensure the environment (logging) is setup correctly before attempting to unpickle the function and its arguments. Otherwise, unpickling the arguments will trigger init/new calls that will run with the default logging conf rather than what we want.