Fix hang on tidying packages by force removing old packages