Pick the newest supported framework for the packages to restore

This could be a potential fix for #185, but we should test this thoroughly first...

Do you guys see any problems with picking the newest supported framework for the packages?