fix empty package_names for unary repositories