add query for un-authenticated packages

Change-Id: I8f88ac2e68489e36184bb10703e1a8c36b3a6e13
Related-Bug: #1286635