Added basic package repo corruptions handling