Packages Dependencies: add better logs and errors
Context
Description
Packages::Dependency.ids_for_names_and_version_patterns has some Application Limits implemented: only 500 rows max are returned.
When a limit is hit, an error will be raised. We should log this situation and handle the error in a better way on the API.