Handle workspaces in subdirectories.
Fallback to first scheme if none is found for the current target.