`pkg_printf` is intended to print some information about a package. I have no ideas why it doesn't print strings (and you might want to make a concrete test case and ensure that this error definitely takes place), but generally you should use plain `printf` for printing strings.