wrapper: support wrapping scripts outside of chromite

Sometimes we want to prototype/land code in other repos, such as when we
want to keep something private before launching it.  Extend the wrapper
logic to support such cases by loading the module directly via imp.

TEST=created symlink outside of chromite dir and was able to run/import chromite code

Change-Id: If0c24854dd7758691d48dfbb4087410a574fc3b4
Reviewed-on: https://chromium-review.googlesource.com/305550
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
1 file changed