share code between rumprun and rumpremote

(fixes env init for rumpremote)