po plugin: replace tweakurlpath hook with a wrapper function