notes: Don't create (empty) commit when removing non-existing notes