It's query_piaware_pkg not query_piaware_package.