The value did not hold the actual file path for scripts in the *custom* folder of the datadir. Fixes: #8781