Refactor getpackagecommand
Add fall back to cache to Install-Package and GetLastestVersion filtered by targetframeworks