Frédéric Delanoy : cmd/tests: Correctly determine script path for root directories.