remove_base_packages function

Helper function to remove base and recommended packages