build: handle top-level packages in API approval script (#23808)
build: handle top-level packages in API approval script (#23808)

Fixes that the `approve-api` script was generating the wrong Bazel target for `google-maps` and `youtube-player`.

Fixes #23782.
angular/components,angular/components,crisbeto/material2,crisbeto/material2,crisbeto/material2,crisbeto/material2,angular/components,angular/components