Check if dependent packages were deactivated and renaming

- Deactivate dependencies renamed to deactivate dependent
- Check if dependent packages are deactivated before redirecting