Update resolve_path logic.
Update resolve_path logic.

This now errors if paths were needed and not provided.

You can now skip adding a loader_path parameter, which makes this
function more compatible with the previous versions.

matthew-brett/delocate,matthew-brett/delocate,matthew-brett/delocate