FIX #405: Script replacements doesn't work with jdeb packaging