YOMO-7159 allow slashes in short path or prefix

Why remove this line?