Make plugin imports work when the API root is not on sys.path