[FIX] migration: test if package is installed using its state.