[US138] protect init script from invalid keys