YOMO-7159 allow slashes in short path or prefix

Shouldn't this be `False` since the test is supposed to fail?