With the current implementation, when an item associated to a package, Flutter throws this error. The same happens when we want to delete a package. 