HPCC-12223 Changed logic for debian installs

Signed-off-by: Michael Gardner <Michael.Gardner@lexisnexis.com>