Make collect_related_packages() a bit faster
Command line interface for static checks (with improved test coverage)