pf:normalize-uri: only analyze string when it is non-empty

(sorry about the pretty-print noise)