The glob pattern passed to strip_nondeterminism_wrapper() doesn't expand, because it is quoted. Pass a real path instead.