scripts: fix relpath.sh output when $prefix is set in environment