Fix how we weren't looking at installed packages.

Change-Id: Ia6590e7353841acc5b514ba62605a99fc10e7f7d