klomp-db: fix removal of same path from different libraries