Query installed ubuntu package using dpkg -s instead of dpkf -p.

Change-Id: Ic1c2ec5283cb2f1095a4d203ba85c0527e7076c5