fix bug preventing individual packages from installing correctly, introduced when we implemented handling of provides functionality