They could, however this function works for PhysFS paths, which start by /
And that should be documented...