Fallback to old logic for getting source_root from the target if SourceRoot.find_by_path() fails