Finally fix some long-standing perl warnings about undef strings