fix package results while querying not installed only