Refactored the matching step into nscale-docker-analyzer.