Don't return 'True' for failing package installations.

This addresses #12751