plugins/vydrine: simplify and fix logic

    - always append replaced when done
    - avoid cut-n-paste
    - drop obsolete import