Better handling of bad request errors in package actions.
The package actions throw uncessary amount of exceptions when getting a bad request from the repository.
Most likely this is because the bad request errors are return by the repo when the request has invalid package versions, and we have a lot of those when debugging.
We should not include packages with invalid version in the request to the repository, instead we should warn that these packages have invalid versions.
tap package download REST-API
Error communicating with repository at 'http://packages.opentap.io' : The remote server returned an error: (400) Bad Request..
Exception: Error communicating with repository at 'http://packages.opentap.io'.
Inner exception: The remote server returned an error: (400) Bad Request.
Exception caught at:
Exception: One or more errors occurred.
Inner exception: Error communicating with repository at 'http://packages.opentap.io'.
Inner exception: The remote server returned an error: (400) Bad Request.
Exception caught at:
Error communicating with repository at 'http://packages.opentap.io' : The remote server returned an error: (400) Bad Request..
Exception: Error communicating with repository at 'http://packages.opentap.io'.
Inner exception: The remote server returned an error: (400) Bad Request.
Exception caught at:
Exception: One or more errors occurred.
Inner exception: Error communicating with repository at 'http://packages.opentap.io'.
Inner exception: The remote server returned an error: (400) Bad Request.
Exception caught at:
2 required dependencies are currently not installed (use --dependencies to also get these).
Package 'REST-API' already exists in 'c:\git\opentap\bin\Debug'.