find the first match for string, import, node, or default at this point, we know we're on the right subpath already
find the first match for string, import, node, or default at this point, we know we're on the right subpath already