pkg_init_from_file() already does this strdup(), so stop another leak.