Fix scpath port.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>