[PATCH conductor] Fixing recognize_path calls when the path contains prefix