use first item in tuple for install tpye

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>