Unfuck pills, bypass some runtime errors.

Root cause of the runtime errors remains, and will keep breaking dangerous reagent logging, but the bypass won't hinder logging if the root cause gets fixed.

Fixes #2281
if(istype(target.reagents_to_log) && target.reagents_to_log.len)