fixes #5402 - adding feature to remove packages from library repos